.audio-player {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.time-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #666;
  min-width: 100px;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.mode-text {
  font-size: 12px;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.speed-control label {
  color: #666;
  font-size: 12px;
}

.speed-select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;
  background: white;
  cursor: pointer;
  min-width: 60px;
}

.speed-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.progress-container {
  margin-bottom: 12px;
}

.progress-bar {
  position: relative;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 3px;
  transition: width 0.1s ease;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: left 0.1s ease;
}

.progress-bar:hover .progress-thumb {
  transform: translate(-50%, -50%) scale(1.2);
}

.sentence-info {
  text-align: center;
  font-size: 12px;
  color: #666;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .audio-player {
    padding: 16px;
  }
  
  .player-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .mode-btn .mode-text {
    display: none;
  }
  
  .time-info {
    font-size: 12px;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .player-controls {
    justify-content: center;
  }
  
  .mode-btn {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  
  .mode-btn .mode-text {
    display: inline;
  }
}